#ifndef INCLUDED_VERTEXSHADERBINARY
#define INCLUDED_VERTEXSHADERBINARY

#pragma once

#include <d3d11.h>
#include <string>
#include "com_ptr.h"

class VertexShaderBinary
{
public:
	explicit VertexShaderBinary(const std::string& filepath);
	com_ptr<ID3D11VertexShader> CreateShader(ID3D11Device* device);
	com_ptr<ID3D11InputLayout> CreateInputLayout(ID3D11Device* device, D3D11_INPUT_ELEMENT_DESC layout[], int numElements);
private:
	com_ptr<ID3DBlob> m_ShaderBinary;
};

#endif